#!/bin/bash
#auto install lamp
#httpd define path variable
H_SOFT="httpd-2.2.34.tar.bz2"
H_SOFT_DIR="http-2.2.34"
H_URL="https://mirrors.cnnic.cn/apache/httpd/"
H_PREFIX="/usr/local/apache"

#MySQL define path variable
M_SOFT="mysql-5.6.39.tar.gz"
M_SOFT_DIR="mysql-5.6.39"
M_URL="https://cdn.mysql.com//Downloads/MySQL-5.6/"
M_PREFIX="/usr/local/mysql"

#php define path variable

P_SOFT="php-5.6.33.tar.bz2"
P_SOFT_DIR="php-5.6.33"
P_URL="http://mirrors.sohu.com/php/"
P_PREFIX="/usr/local/php5"

echo -e "\033[32m------------------------------\033[0m"
echo
echo -e "\033[36mPlease Select Install Menu follow:\033[0m"
echo -e "\033[32m1)编译安装apache服务器\033[0m"
echo -e "\033[32m2)编译安装Mysql服务器\033[0m"
echo -e  "\033[32m3)编译安装PHP服务器\033[0m"
echo -e "\033[31mUsage: {/bin/bash $0 1|2|3|4 } \033[0m"
echo -e "\033[32m------------------------------\033[0m"

